#pragma once
#include "stdafx.h"


#include "ui_settings_editor.h"

using namespace std;

class settingsEditor : public QDialog
{
	Q_OBJECT
private:
	Ui::settingsEditorDialog ui;
	vector<QTableWidgetItem *> parameter;
	vector<QComboBox *> unit;
public:
	settingsEditor(QWidget* pwgt = 0);	
	~settingsEditor();
	//QString getData();
	void setUnits(const hash_map<string, int> &_defaultUnits);
	hash_map<string, int> getUnits();
private slots:
	void on_btnAccept_clicked();
	void on_btnReject_clicked();
};
